package com.galaxis.wms;

import com.yvan.studio.utils.CodegenUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 作者：lizw <br/>
 * 创建时间：2023/04/24 13:36 <br/>
 */
@SpringBootApplication(
        scanBasePackages = {"com.galaxis.wms"},
        exclude = {
                DataSourceAutoConfiguration.class,
                RedisAutoConfiguration.class,
                ElasticsearchRestClientAutoConfiguration.class,
        }
)
public class StartAPP {
    public static void main(String[] args) {
        CodegenUtils.enumPath = "../../servo/src/main/groovy/com/galaxis/wms/enums";
        CodegenUtils.entityPath = "../../servo/src/main/groovy/com/galaxis/wms/entity";
        CodegenUtils.queryPath = "../../servo/src/main/groovy/com/galaxis/wms/query";
        SpringApplication application = new SpringApplication(StartAPP.class);
        application.run(args);
    }
}
